package com.kaikeba.util;

import java.util.Random;

public class RandomUtil {
    private static Random r = new Random();
    //生成随机数取件码
    public static int getCode(){
        return r.nextInt(900000)+100000;
    };

    //生成随机数验证码
    public static int getPhoneCode(){
        return r.nextInt(900000)+100000;
    }
}
